package cn.tedu._04homework.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import pojo.entity.Product;

@Mapper
public interface ProductMapper {
    @Insert("INSERT INTO product (title , price, stock ) VALUES (#{title} ,#{price} ,#{stock})")
    void insert(Product product);
}
